"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.register = register;
exports.login = login;
exports.logout = logout;
const api_1 = require("./api");
function register(account, password, role, nickname) {
    return (0, api_1.callService)("authRegister", { account, password, role, nickname });
}
function login(account, password) {
    return (0, api_1.callService)("authLogin", { account, password });
}
function logout() {
    return (0, api_1.callService)("authLogout");
}
